WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway S

Total Complexity 34
Dependencies 11
Dependents 16
Total lines 318
Lines of code 154
Logical lines of code 62
Comment lines 105
Methods 11
Properties 7

Methods 11

Method Rating Maintainability Complexity Lines of code
__construct()
A
43 8 49
capture_authorized_payment()
S
53 4 25
init_form_fields()
S
55 4 19
is_paypal_tab()
S
69 4 6
define_method_title()
S
66 3 9
is_credit_card_tab()
S
72 3 5
render_authorization_message_for_status()
S
62 2 12
define_method_description()
S
64 2 12
process_refund()
S
67 2 7
needs_setup()
S
82 1 3
generate_ppcp_html()
S
69 1 7